package com.heima.behavior.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.LikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.pojos.article.ApArticle;

/**
 * @Author Geralt
 * @Date 2024-08-01 10:01
 */
public interface BehaviorService extends IService<ApArticle> {
    /**
     * 文章点赞
     * @param likesBehaviorDto
     * @return
     */
    ResponseResult likesBehavior(LikesBehaviorDto likesBehaviorDto);

    /**
     * 阅读文章
     * @param behaviorDto
     * @return
     */
    ResponseResult readBehavior(LikesBehaviorDto behaviorDto);

    /**
     * 不喜欢操作
     * @param behaviorDto
     * @return
     */
    ResponseResult unLikesBehavior(LikesBehaviorDto behaviorDto);
}
